home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / ab20_archive / datacomm / xpr / xprkermit-1.111.lzh / timer.h < prev    next >
C/C++ Source or Header  |  1991-11-08  |  649b  |  24 lines

  1. /* timer.h--support for timer.c */
  2. /*lint -save -e537    We are protected by wrappers against multi-include */
  3. /* $Header: Work:src/xprkermit/RCS/timer.h,v 1.2 91/11/09 06:59:38 swalton Exp Locker: swalton $ */
  4.  
  5. #ifndef TIMER_H
  6. #define TIMER_H
  7.  
  8. #include <exec/types.h>
  9. #include <devices/timer.h>
  10.  
  11. void DeleteTimer(struct timerequest *);
  12. struct timerequest *CreateTimer(ULONG);
  13. void WaitForTimer(struct timerequest *, struct timeval *);
  14. LONG MyDelay(struct timeval *, LONG);
  15.  
  16. #pragma regcall(DeleteTimer(a0))
  17. #pragma regcall(CreateTimer(d0))
  18. #pragma regcall(WaitForTimer(a0,a1))
  19. #pragma regcall(MyDelay(a0,d0))
  20.  
  21. #endif /* TIMER_H */
  22.  
  23. /*lint -restore */
  24.